
@import './color.scss';
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  font-size: 14px;
   padding: 0;
   margin: 0;
  background-color: #f0f2f5;
}

@font-face {
  font-family: 'iconfont';  /* Project id 2547823 */
  src: url('//at.alicdn.com/t/font_2547823_yesk7morzb.woff2?t=1637223133225') format('woff2'),
       url('//at.alicdn.com/t/font_2547823_yesk7morzb.woff?t=1637223133225') format('woff'),
       url('//at.alicdn.com/t/font_2547823_yesk7morzb.ttf?t=1637223133225') format('truetype');
}
.iconfont {
  font-family:"iconfont" !important;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
}
.icon {
  width: 20px; height:20px;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
 line-height: 1;
}
img{
  display: inline-block;
}
#app {
  // height: 100%;
  background: #fff;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
p{
  padding: 0;
  margin: 0;
}
a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.el-select .el-input.is-focus .el-input__inner {
  border-color: $greenColor !important;
}
.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: $greenColor !important;
}

.app-container {
  padding: 20px;
}
//全局内容宽度设置
.container-public{
  background-color: #f5f5f5;
  padding-top: 30px;
  padding-bottom: 50px;
}
// 页面头部
.page-head {
  background-color: #FFF;
}
.section-title {
  margin-bottom: 30px;
  text-align: center;
  .title-main {
    font-size: 24px;
    color: #333333;
    margin: 0 0 10px;
    position: relative;
    &::before ,
    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: calc(50% - 200px);
      bottom: 0;
      width: 100px;
      height: 2px;
      background-color: #E5E5E5;
    }
    &::before {
      right: calc(50% + 100px);
    }
  }
  .title-tips {
    font-size: 12px;
    color: #999999;
  }
}
// 首页-分模块
.home-section {
  width: 100%;
  padding: 60px 0;
}
//有左蓝色边框
.public-title {
  display: inline-block;
  height: 60px;
  width: 100%;
  line-height: 60px;
  font-weight: 800;
  padding-left: 10px;
  font-size: 16px;
  .border {
    border-left: 4px solid $greenColor;
    padding-left: 10px;
  }
}
//商城的搜索
.public-label {
  font-size: 16px;
  background: #fff;
  padding: 0 20px 20px 20px;
  .label-type {
    padding: 10px 0;
    display: flex;
    border-bottom: 2px solid $bgColor;
    .b,
    .all {
      flex-shrink: 0;
      height: 30px;
      padding: 7px 10px;
    }
    .b {
      font-weight: 800;
      width: 10%;
    }
    .list-con {
      width: 80%;
      flex-shrink: 0;
      display: flex;
      overflow: hidden;
      span {
        padding: 7px 10px;
        margin-left: 15px;
        flex-shrink: 0;
        cursor: pointer;
      }
    }
    .is-open {
      flex-wrap: wrap;
    }
    span.active {
      background: $greenColor;
      color: #fff;
      border-radius: 3px;
    }
    .shrink {
      padding-top: 7px;
      margin-left: auto;
      color: $greenColor;
      cursor: pointer;
      flex-shrink: 0;
      i {
        margin-left: 5px;
      }
    }
  }
  .condition-box {
    margin-top: 20px;
    display: flex;
    align-items: center;
    span {
      flex-shrink: 0;
    }
    .condition {
      margin-right: 30px;
      .el-tag {
        margin-left: 20px;
        margin-bottom: 10px;
      }
    }
  }
}
//商城搜索列表
.pulick-result-show {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  padding: 20px;
  .pulic-table {
    .goods-item {
      display: flex;
      align-items: center;
      .img {
        width: 100px;
        height: 80px;
        background: $bgColor;
      }
      .goods-info {
        margin-left: 15px;
        .goods-company {
          font-size: 12px;
          color: #999999;
          &::before {
            display: inline-block;
            content: '商';
            width: 16px;
            font-size: 12px;
            color: $yellowColor;
            text-align: center;
            line-height: 16px;
            margin-right: 6px;
            background-color: rgba(255,186,0,0.3);
          }
        }
      }
    }
    .quality-item {
      width: 100%;
      height: 100%;
      .icon {
        width: 40px;
        height: 40px;
      }
    }
    .color-main {
      color: $greenColor;
    }
    .price {
      font-size: 18px;
      font-weight: 600;
    }
    .price-tag {
      margin-top: 10px;
      padding: 2px 4px;
      background: rgba(19,194,40,0.1);
      font-size: 12px;
      color: $greenColor;
      line-height: 16px;
    }
  }
}
//西部食谷｜登录的公共头部
.pulic-login-title {
  width: $bigWidth;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  .tip {
    padding-left: 20px;
    border-left: 2px solid #E6F4E8;
    margin-left: 20px;
    font-size: 22px;
    color: #025340;
    font-weight: bolder;
  }
  .logo {
    width: 16%;
  }
}
